package com.yc.boot.work.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.boot.common.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Create with IntelliT IDEA
 *
 * @Author: zhengmingzhe
 * @Date: 2021/12/14/11:57
 * @Description: 学生实体类
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "学生")
@TableName("test_student")
public class TestStudent  extends BaseEntity {
    @TableField("class_id")
    @ApiModelProperty("班级id")
    private Long classId;

    @TableField("name")
    @ApiModelProperty("学生名")
    private String name;

    @TableField("gender")
    @ApiModelProperty("性别")
    private String gender;

    @TableField("hobby")
    @ApiModelProperty("兴趣爱好")
    private String hobby;
}
